package com.fy.tt.service;

import com.fy.tt.entity.Semantic;
import com.fy.tt.entity.query.SemanticQuery;
import com.fy.tt.entity.vo.SemanticVo;

import java.util.List;

public interface SemanticService  {
    List<SemanticVo> getAllSemantics();
    Semantic getSemantic(int wordId);
    int addSemantic(Semantic semantic);
    int deleteSemantic(int wordId);

    int updateSemantic(Semantic semantic);

    List<SemanticVo> getLastSaveSemantic();

    int getTotalSemantic(SemanticQuery semanticQuery);

    int getTotalSemanticDeveloped(SemanticQuery semanticQuery);
}
